package org.btik.light.mobile.server;

/**
 * @author lustre
 * @since 2023/6/7 14:28
 */
public class TimeoutBean<T> {
    T tagert;
    long lastActiveTime;
    long timeout;

    public TimeoutBean(T tagert, long lastActiveTime, long timeout) {
        this.tagert = tagert;
        this.lastActiveTime = lastActiveTime;
        this.timeout = timeout;
    }

    public long lastActiveTime() {
        return lastActiveTime;
    }

    public long timeout() {
        return timeout;
    }

    public T tagert() {
        return tagert;
    }
}
